From d41f6631adae4784c1a184a711536bda6e0f8fe9 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Wolle) Ewald" Date: Mon, 29 Jun 2020 21:12:34 +0200 Subject: Update Alert_Window_Mode_with_Latch.ino --- examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino index 85f3667..d8bfeb7 100644 --- a/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino +++ b/examples/Alert_Window_Mode_with_Latch/Alert_Window_Mode_with_Latch.ino @@ -144,7 +144,7 @@ void loop() { digitalWrite(ledPin,LOW); outOfLimit = false; attachInterrupt(digitalPinToInterrupt(interruptPin), outOfLimitAlert, FALLING); - adc.unlatchAlertPin(); // unlatches the alert Pin (alternatively use getResult_V) + adc.clearAlert(); // unlatches the alert Pin (alternatively use getResult_V) } } -- cgit v1.2.3